# Generated by Django 5.0.5 on 2024-06-28 08:51

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Patient',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_at', models.DateTimeField(default=django.utils.timezone.now)),
                ('update_at', models.DateTimeField(auto_now=True)),
                ('fam', models.CharField(max_length=50, verbose_name='Фамилия')),
                ('im', models.CharField(max_length=50, verbose_name='Имя')),
                ('ot', models.CharField(default='', max_length=50, verbose_name='Отчество')),
                ('dr', models.DateField(verbose_name='Дата рождения')),
                ('phone', models.CharField(default='', max_length=20, verbose_name='Номер телефона')),
                ('med_card', models.CharField(max_length=20, unique=True, verbose_name='Номер мед.карты')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='PhotoTooth',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_at', models.DateTimeField(default=django.utils.timezone.now)),
                ('update_at', models.DateTimeField(auto_now=True)),
                ('tooth_number', models.CharField(max_length=10, verbose_name='Номер зуба')),
                ('date_shoot', models.DateField(verbose_name='Дата сниимка')),
                ('photo', models.ImageField(upload_to=None)),
                ('podr', models.CharField(max_length=150)),
                ('cabinet', models.CharField(max_length=50)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
